<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('修改鸡日报')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-ncChickenDayCensus-edit" th:object="${ncChickenDayCensus}">
            <input id="censusId" name="censusId" th:field="*{censusId}"  type="hidden">
			<div class="form-group">	
				<label class="col-sm-3 control-label">存栏数量：</label>
				<div class="col-sm-8">
					<input id="cunAmount" name="cunAmount" th:field="*{cunAmount}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">外购数量：</label>
				<div class="col-sm-8">
					<input id="inputAmount" name="inputAmount" th:field="*{inputAmount}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">直供大只数量：</label>
				<div class="col-sm-8">
					<input id="outputAmountBig" name="outputAmountBig" th:field="*{outputAmountBig}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">直供小只数量：</label>
				<div class="col-sm-8">
					<input id="outputAmountLittle" name="outputAmountLittle" th:field="*{outputAmountLittle}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">内销数量：</label>
				<div class="col-sm-8">
					<input id="neiXiao" name="neiXiao" th:field="*{neiXiao}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">主饲料数量
：</label>
				<div class="col-sm-8">
					<input id="zFeed" name="zFeed" th:field="*{zFeed}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">辅饲料数量：</label>
				<div class="col-sm-8">
					<input id="fFeed" name="fFeed" th:field="*{fFeed}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">死亡数量：</label>
				<div class="col-sm-8">
					<input id="die" name="die" th:field="*{die}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">备注：</label>
				<div class="col-sm-8">
					<textarea id="remark" rows="3" name="remark" th:field="*{remark}" class="form-control" type="text"></textarea>
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">时间：</label>
				<div class="col-sm-8">
					<input id="dateTime" name="dateTime" th:field="*{dateTime}" class="form-control" type="text">
				</div>
			</div>
		</form>
    </div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "system/ncChickenDayCensus";
		$("#form-ncChickenDayCensus-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			},
			focusCleanup: true
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/edit", $('#form-ncChickenDayCensus-edit').serialize());
	        }
	    }
	</script>
</body>
</html>
